home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-25 | 1.0 KB | 41 lines | [TEXT/MPS ] |
- // Copyright © 1995 Apple Computer, Inc. All rights reserved.
- // Release Version: $ 1.0 d11 $
-
- #ifndef DULIST_H
- #define DULIST_H
-
- //=======================================================================
- #ifndef DUSELECTABLE_H
- #include "DUSelectable.h" // DU_MSelectable
- #endif
-
- #ifndef FWORDCOL_H
- #include "FWOrdCol.h" // FW_CPrivOrderedCollection
- #endif
-
- //===============================================================
- class FW_CLASS_ATTR DU_CList : public FW_CPrivOrderedCollection {
- public:
- DU_CList();
- virtual ~DU_CList();
- // new member
- virtual DU_MSelectable* FirstItem();
- };
-
- //===============================================================
- class FW_CLASS_ATTR DU_CListIterator {
- public:
- DU_CListIterator(DU_CList* list);
- ~DU_CListIterator();
- DU_MSelectable* First();
- DU_MSelectable* Next();
- DU_MSelectable* Last();
- DU_MSelectable* Previous();
- FW_Boolean IsNotComplete();
- private:
- FW_COrderedCollectionIterator fImplementation;
- };
-
- //===============================================================
- #endif
-